package com.codechen.scaffold.books.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codechen.scaffold.books.domain.entity.Book;
import com.codechen.scaffold.books.domain.req.BookQueryRequest;
import org.apache.ibatis.annotations.Param;


public interface BookMapper extends BaseMapper<Book> {

	IPage<Book> queryList(Page<Book> page, @Param("req")BookQueryRequest req);

}
